﻿using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Office.Interop.Word;

namespace WFL.Office.Word
{
    public class WordParagraphFormat
    {
        public ParagraphAlignment Alignment
        {
            get { return (ParagraphAlignment)_paragraphFormat.Alignment; }
            set { _paragraphFormat.Alignment = (WdParagraphAlignment)value; }
        }

        internal ParagraphFormat _paragraphFormat
        {
            get;
            private set;
        }

        internal WordParagraphFormat(ParagraphFormat paragraphFormat)
        {
            _paragraphFormat = paragraphFormat;
        }

        public WordParagraphFormat()
            : this(new ParagraphFormat())
        {
            
        }
    }
}
